package com.mccken.designpattern.factory.abstract_factory.demo1.new_factory;

import com.mccken.designpattern.factory.abstract_factory.demo1.IFactory;
import com.mccken.designpattern.factory.abstract_factory.demo1.IProductA;
import com.mccken.designpattern.factory.abstract_factory.demo1.IProductB;
import com.mccken.designpattern.factory.abstract_factory.demo1.ProductAFamilyA;
import com.mccken.designpattern.factory.abstract_factory.demo1.ProductBFamilyB;
import com.mccken.designpattern.factory.abstract_factory.demo1.product_c.IFactory2;
import com.mccken.designpattern.factory.abstract_factory.demo1.product_c.IProductC;

/**
 * @program: mccken-collect
 * @description:
 * @author: mccken
 * @create: 2023-04-13 02:08
 **/
public class FactoryD implements IFactory {
	@Override
	public IProductA createProductA() {
		return new ProductAFamilyD();
	}
	
	@Override
	public IProductB createProductB() {
		return new ProductBFamilyD();
	}
	
}
